#include "single.h"
#include "widget.h"
#include "game.h"
#include "bid.h"
#include "ui_single.h"
#include <string.h>

single::single(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::single)
{
    ui->setupUi(this);

}

single::~single()
{
    delete ui;
}

void single::on_btnBack_clicked()
{
    emit ret();
}

void single::on_btnStart_clicked()
{
    emit showgb();
    emit signalGM();
}

void single::on_btnAI_clicked()
{
    num++;

    QString str = QString::number(num);
    QString txt = "AI PLayer";

    QString qstr = txt + " " + str;

    ui->lstClients->addItem(qstr);
}
